#ifndef MDIAREA_H
#define MDIAREA_H

#include <QDockWidget>
#include <QMdiArea>


class QtDAO;

class MdiArea : public QDockWidget
{
public:
    MdiArea(QtDAO *qtdao, QWidget *parent = nullptr);
    ~MdiArea();
    void creat_sub_window(QWidget *object);

private:
    QtDAO *qtdao;
    QMdiArea *mdi;
    //void setup_connections();

};

#endif // MDIAREA_H
